add_executable( test_extraction test_extraction.cpp )
target_link_libraries( test_extraction trace_api_plugin )
target_include_directories( test_extraction PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )

add_test(NAME test_extraction COMMAND plugins/trace_api_plugin/test/test_extraction WORKING_DIRECTORY ${CMAKE_BINARY_DIR})

add_executable( test_responses test_responses.cpp )
target_link_libraries( test_responses trace_api_plugin )
target_include_directories( test_responses PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )

add_test(NAME test_responses COMMAND plugins/trace_api_plugin/test/test_responses WORKING_DIRECTORY ${CMAKE_BINARY_DIR})

add_executable( test_trace_file test_trace_file.cpp )
target_link_libraries( test_trace_file trace_api_plugin )
target_include_directories( test_trace_file PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )

add_test(NAME test_trace_file COMMAND plugins/trace_api_plugin/test/test_trace_file WORKING_DIRECTORY ${CMAKE_BINARY_DIR})

add_executable( test_data_handlers test_data_handlers.cpp )
target_link_libraries( test_data_handlers trace_api_plugin )
target_include_directories( test_data_handlers PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )

add_test(NAME test_data_handlers COMMAND plugins/trace_api_plugin/test/test_data_handlers WORKING_DIRECTORY ${CMAKE_BINARY_DIR})

add_executable( test_configuration_utils test_configuration_utils.cpp )
target_link_libraries( test_configuration_utils trace_api_plugin )
target_include_directories( test_configuration_utils PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )

add_test(NAME test_configuration_utils COMMAND plugins/trace_api_plugin/test/test_configuration_utils WORKING_DIRECTORY ${CMAKE_BINARY_DIR})

add_executable( test_compressed_file test_compressed_file.cpp )
target_link_libraries( test_compressed_file trace_api_plugin )
target_include_directories( test_compressed_file PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )

add_test(NAME test_compressed_file COMMAND plugins/trace_api_plugin/test/test_compressed_file WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
